package 工厂模式.抽象工厂;

/**
 * @author zzs
 * @ClassName MyCoffeFactory.java
 * @Description
 * @createTime 2022年05月14日 19:53:00
 */
public class MyCoffeeFactory implements CoffeeFactory {

    @Override
    public Cream createdCream() {
        return new OneCream();
    }

    @Override
    public Water createdWater() {
        return new OneWater();
    }
}
